Syntax |
TXT.LINE.INPUT(["prompt",] StringVar) |
Remarks |
Reads an entire line from the keyboard into a string variable, ignoring any delimiters which may be embedded. The prompt is an optional string constant or string equate. Upon execution, the prompt is displayed and the program waits for keyboard input. Keystrokes are accepted until the user presses ENTER, at which time the resulting string is stored into the StringVar. The StringVar may be a fixed-length, nul-terminated, or a dynamic string. For fixed-length and nul-terminated strings, keyboard input longer than the string is truncated to fit. Dynamic strings receive the complete keyboard input without truncation. StringVar may not be a UDT variable, although fixed-length and nul-terminated UDT member variables are allowed. |
|